package com.lzxuni.modules.cropinformation.service;

import com.github.pagehelper.PageInfo;
import com.lzxuni.modules.common.entity.PageParameter;
import com.lzxuni.modules.common.entity.Tree;
import com.lzxuni.modules.cropinformation.entity.TblCropInformation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 作物信息 服务类
 * </p>
 *
 * @author rdf
 * @since 2020-11-24
 */
public interface TblCropInformationService extends IService<TblCropInformation> {

    PageInfo<TblCropInformation> queryPage(PageParameter pageParameter, TblCropInformation cropInformation);

    List<Tree> getTree();

    List<Tree> getTreekh(String cropName);

    int queryfarmerUpdateByCropId(TblCropInformation tblCropInformation);

    List<TblCropInformation> queryCountList();
}
